August 25, 2018

Overview

This presentation is going to use the same data used on week 2 assigment: - the dataset with the French municipalities seen on r-bloggers. This document will show an interactive scatter plot that will compare the growth population between the period 1975-2010 with the population recorded at the begining of the study on 1975.

Getting & Cleaning the data

Now, the following steps are going to be taken in order to get and clean the data to show in the plot.

  • Download the csv file from the original web

  • Keep only commune names and the population at 1975 and 2010.

  • Create a new column with percentage growth between 1975 and 2010.

##             com_nom   pop_1975   pop_2010     growth
## 1             PARIS 2294116.33 2240213.10 -2.3496294
## 11          CHELLES   36295.64   54472.40 50.0797316
## 27   COMBS-LA-VILLE   10782.62   20812.63 93.0201727
## 37      COULOMMIERS   11435.09   13740.61 20.1617884
## 45             AVON   15446.51   14067.18 -8.9297525
## 59 DAMMARIE-LES-LYS   19662.41   19857.86  0.9939968

Plot with GGPlotly

Plot with Plotly